$OpenBSD: patch-Makefile,v 1.4 2011/11/17 14:16:51 robert Exp $
--- Makefile.orig	Tue Aug  3 19:04:34 2010
+++ Makefile	Thu Nov 17 14:59:15 2011
@@ -16,8 +16,8 @@ xstatbar: $(OBJS)
 	$(CC) $(CFLAGS) $<
 
 install: xstatbar
-	/usr/bin/install -c -m 0555 xstatbar $(BINDIR)
-	/usr/bin/install -c -m 0444 xstatbar.1 $(MANDIR)
+	/usr/bin/install -c -m 0555 xstatbar $(DESTDIR)$(BINDIR)
+	/usr/bin/install -c -m 0444 xstatbar.1 $(DESTDIR)$(MANDIR)
 
 uninstall:
 	rm -f $(BINDIR)/xstatbar
